/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sdd.facades.persistence;

import com.sdd.entities.Delivery;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author T
 */
@Stateless
public class DeliveryPersistenceFacade  extends AbstractPersistenceFacade<Delivery> {

    @PersistenceContext(unitName = "SDDStore-ejbPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public DeliveryPersistenceFacade(){
        super(Delivery.class);
    }
    

}

